﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace VM.Entity.EntityDto.Lunbo
{
    public class getLunboListDto
    {
        /// <summary>
        /// 轮播图片
        /// </summary>
        public getLunboListDto()
        { }
        #region Model
        private int _id;
        private string _name;
        private string _imagesrc;
        private string _description;
        private int _orderno;
        private int _position;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 图片标题
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string imageSrc
        {
            set { _imagesrc = value; }
            get { return _imagesrc; }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 展示顺序号
        /// </summary>
        public int orderNo
        {
            set { _orderno = value; }
            get { return _orderno; }
        }
        /// <summary>
        /// 展示位置  1首页  
        /// </summary>
        [JsonIgnore]
        public int position
        {
            set { _position = value; }
            get { return _position; }
        }
        #endregion Model

    }
}
